<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

/**
 * @method static where(string $string, $user_id)
 */
class GrUser extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'gr_users';
    protected $primaryKey='seckill_id';
    public function integral(){
        return $this->hasMany(GrIntegral::class,'user_id','id');
    }

}
